"use strict";
require([
  'jquery',
  './dev/layer',
  'polyfill',
  //'baidu-map',
  './dev/charts',
  './dev/nav',
  './conf/echartsConf'
], function ($, layer, polyfill, charts, nav, option) {

  nav.showNav();

  $.getJSON('./data/EchartConf.json', function (data) {
    charts.creatEchar(data[0], option)
  })

  const layui =  layer.setLayer();

  layui.use(['element','form','table','laypage', 'layer'], () => {
    const table = layui.table

    $.getJSON("./data/TabConf.json", (data) => {
        $.each(data, (index,item) => {
            table.render(item);
        })
    })





  })





});

